package com.zheng.shop.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zheng.shop.dao.model.ShopSku;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ShopSkuMapper extends BaseMapper<ShopSku> {
    List<Map<String, Object>> selectSkuAttributes(@Param("skuId") Integer skuId);
    List<Map<String, Object>> selectSkuMapList(@Param("productId") Integer productId, @Param("status") Integer status);
}